package com.xiaobai.im.server.controller;

import com.xiaobai.im.server.config.NettyConfig;
import com.xiaobai.im.server.server.NettyServer;

public class IMController {

    private  NettyServer nettyServer;

    private final NettyConfig nettyConfig;

    public IMController(NettyConfig nettyConfig) {
        this.nettyConfig = nettyConfig;
    }

    public void initialize() {
        nettyServer = new NettyServer(nettyConfig);
    }
}
